package com.shop.framework.dao;

import java.util.HashMap;
import java.util.Map;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import com.shop.framework.vo.FileItem;


@Repository
public class FileDAOImpl extends SqlSessionDaoSupport implements FileDAO {

    @Override
    public void saveFile(
                    String anex_fil_id_no,
                    String anex_fil_nm,
                    long anex_fil_siz,
                    byte[] anex_fil_txt) {

        Map<String, Object> paramMap = new HashMap<String, Object>();
    }

    @Override
    public void deleteFile(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();
    }

    @Override
    public void touchFile(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();

    }

    @Override
    public FileItem getFile(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();

        FileItem k = new FileItem();
        return k;
    }

    @Override
    public FileItem getFileInfo(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();

        FileItem k = new FileItem();
        return k;
        
    }

    @Override
    public void increaseRefCount(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();

    }
    @Override
    public void decreaseRefCount(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();
    }

    @Override
    public int getRefCount(String anex_fil_id_no) {
        Map<String, Object> paramMap = new HashMap<String, Object>();
        return 0;
    }

}
